Skip to content

A small update to to ensure ds_loss returns a const#5350

Merged
wyli merged 14 commits into
Project-MONAI:devfrom
myron:ds_loss
Oct 19, 2022
Merged

A small update to to ensure ds_loss returns a const#5350
wyli merged 14 commits into
Project-MONAI:devfrom
myron:ds_loss

Conversation

@myron

@myron myron commented Oct 17, 2022

Copy link
Copy Markdown
Collaborator

A small fix to followup on #5338
to ensure ds_loss returns a constant, not an array

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

myron and others added 10 commits October 14, 2022 17:35
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
@myron myron added the enhancement New feature or request label Oct 17, 2022
@myron myron added this to the Auto3D Seg framework [P0 v1.0] milestone Oct 17, 2022
@myron myron changed the title Ds loss A small update to to ensure ds_loss returns a const Oct 17, 2022
Comment thread monai/losses/ds_loss.py Outdated
@mingxin-zheng

Copy link
Copy Markdown
Collaborator

Hi @myron I saw this was added to the Auto3DSeg milestone. I am having some trouble to understand how it relates to Auto3DSeg framework. Could you explain a bit? Thanks

@myron

myron commented Oct 18, 2022

Copy link
Copy Markdown
Collaborator Author

Hi @myron I saw this was added to the Auto3DSeg milestone. I am having some trouble to understand how it relates to Auto3DSeg framework. Could you explain a bit? Thanks

we used segresnet with deepsupervision, and this loss is to support deep supervision.

myron added 3 commits October 18, 2022 11:38
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: myron <amyronenko@nvidia.com>

@wyli wyli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks good to me.

@wyli

wyli commented Oct 19, 2022

Copy link
Copy Markdown
Contributor

/build

@wyli wyli enabled auto-merge (squash) October 19, 2022 10:59
@wyli wyli merged commit 8383f8b into Project-MONAI:dev Oct 19, 2022
@myron myron deleted the ds_loss branch October 22, 2022 18:50
wyli pushed a commit that referenced this pull request Oct 24, 2022
A small fix to followup on
#5338
to ensure  ds_loss returns a constant, not an array

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [x] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: myron <amyronenko@nvidia.com>
wyli pushed a commit that referenced this pull request Oct 24, 2022
A small fix to followup on
#5338
to ensure  ds_loss returns a constant, not an array

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [x] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: myron <amyronenko@nvidia.com>
KumoLiu pushed a commit that referenced this pull request Nov 2, 2022
A small fix to followup on
#5338
to ensure  ds_loss returns a constant, not an array

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [x] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

Signed-off-by: myron <amyronenko@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants